package com.sunlong.jiangwei.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {

    public static String format(Date date){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
        if (null != date) {
            return sdf.format(date);
        }else {
            return "";
        }
    }
}
